/**
*  Copyright 2002 Sun Microsystems, Inc. All rights reserved.
*/

/**
 *Title Author
 * @author xiaofei
 *@version 1.0
 */
package author;

public class Author {
	
	private String name;
	private String email;
	private char gender;
	
	public Author(String name, String email, char gender)
	{
		this.name = name;
		this.email = email;
		this.gender = gender;
	}
	
	public void setEmail(String email)
	{
		this.email = email;
	}
	
	public String getName()
	{
		return this.name;
	}
	
	public String getEmail()
	{
		return this.email;
	}
	
	public char getGender()
	{
		return this.gender;
	}
	
	public String toString()
	{
		return this.email + "'s name is " + this.name + "(" + this.gender + ")";
	}
}
